@model FabrikamFiber.DAL.Models.Employee

@{
    ViewBag.Title = "Delete";
}

<h1>Delete</h1>

<h2>Are you sure you want to delete this?</h2>
<fieldset>
    <legend>Employee</legend>

    <div class="display-label">First Name</div>
    <div class="display-field">@Model.FirstName</div>

    <div class="display-label">Last Name</div>
    <div class="display-field">@Model.LastName</div>

    <div class="display-label">Address</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Address).ToString()</div>

    <div class="display-label">Phone</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.Phone).ToString()</div>

    <div class="display-label">Service Areas</div>
    <div class="display-field">@Model.ServiceAreas</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" class="glossyBox" /> 
      
    </p>
    <p>
        @Html.ActionLink("Back to List", "Index")
    </p>
    
}


